/**
 * 2010-5-4
 * InnovationServer
 * @author lyh
 */
package labox.innovation.gameserver.network.clientpackets;

import labox.innovation.gameserver.model.actor.instance.FuzePcInstance;
import labox.innovation.gameserver.network.serverpackets.GUIList;

/**
 * 请求任务列表
 * 
 * @author lyh
 * 
 */
public final class RequestQuestList extends L2GameClientPacket {
	private static final String _C__51_REQUESTQUESTLIST = "[C] 51 RequestQuestList";

	@Override
	public String getType() {
		return _C__51_REQUESTQUESTLIST;
	}

	@Override
	protected void readImpl() {
	}

	@Override
	protected void runImpl() {
		FuzePcInstance player=getClient().getActiveChar();
		if(player==null)
			return;
		sendPacket(new GUIList(player.playerQuestList()));
	}

}
